﻿<controls:ChildWindow x:Class="Rio.Framework.Pages.Viewer.ScanInstall"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="300" 
           >
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="20*"/>
            <RowDefinition Height="40*"/>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Image Source="../Assets/Images/Config.png" Grid.Row="0" HorizontalAlignment="Left" ></Image>
        <StackPanel Orientation="Horizontal" Grid.Row="1" Margin="5,5,0,0">
            <TextBlock Name="LabelInstalled" />
            <RadioButton Name="ScanOptionTrue"  Height="16" HorizontalAlignment="Left"   VerticalAlignment="Top" GroupName="InstalledGroup" />
            <RadioButton Name="ScanOptionFalse" Height="16" HorizontalAlignment="Left" Margin="15,0,0,0"   VerticalAlignment="Top" GroupName="InstalledGroup" />
        </StackPanel>
        <StackPanel Orientation="Vertical" Grid.Row="2" Margin="5,5,0,0">
            <TextBlock Name="LabelDownloadScan" TextWrapping="Wrap" HorizontalAlignment="Left" Width="368"></TextBlock>
            <Button Name="DownloadButton" Click="DownloadButton_Click" Width="200" Margin="15" ></Button>
        </StackPanel>
        <Button x:Name="CancelButton"  Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="3" />
        <Button x:Name="OKButton"  Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="3" />
        
        
    </Grid>
</controls:ChildWindow>